package com.cloud.portmana.ser.impl;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import aj.org.objectweb.asm.Type;

import com.cloud.portmana.ModuleConstant;
import com.cloud.portmana.dto.BgCycleThreeDS;

import com.cloud.portmana.entity.dao.IBgStatisticsManaHoldDao;
import com.cloud.portmana.entity.dao.IBgStatisticsManaSaleDao;
import com.cloud.portmana.ser.IBgStatisticsManaSaleService;
import com.cloud.util.base.IUserInfo;
import com.cloud.util.page.PageInfo;
import com.cloud.util.page.ser.IPageService;


@Service
@Transactional
public class BgStatisticsManaSaleService implements IBgStatisticsManaSaleService {
	@Resource(name="pageService")
	private IPageService pageService;
	@Resource(name="bgStatisticsManaSaleDao")
	private IBgStatisticsManaSaleDao bgStatisticsManaSaleDao;
	@Override
	public PageInfo getPageInfo(PageInfo pageInfo, BgCycleThreeDS cycleThreeDS, IUserInfo userInfo,
			Map<String, String> globalVariableCacheMap) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public PageInfo getPageInfoCity(PageInfo pageInfo,IUserInfo userInfo,String Province,String type, BgCycleThreeDS cycleThreeDS){
		pageInfo = bgStatisticsManaSaleDao.getPageInfoCity(pageInfo,userInfo,Province,type,cycleThreeDS);
		pageInfo = pageService.getSQLPageInfo(pageInfo);
		
		return pageInfo;
	}

}
